package STUDENT.TRINHQUANGXUANDUC.OPPS.HINHCHUNHAT;

public class Models {
	public double Area(ChuNhatObject object) {
		return (object.getChieudai() + object.getChieurong()) * 2;
	}

	public double Perimeter(ChuNhatObject object) {
		return object.getChieudai() * object.getChieurong();
	}
}
